home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000158_michel.chamberland@jtax.com_Fri Jun 13 11:16:53 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  86 lines

  1. Article: 14386 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: michel.chamberland@jtax.com (mchamber)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: HTTP Proxy in ckermit
  6. Date: 13 Jun 2003 08:13:58 -0700
  7. Organization: http://groups.google.com/
  8. Lines: 67
  9. Message-ID: <f270e7b1.0306130713.2ecc7069@posting.google.com>
  10. References: <f270e7b1.0306121124.4e268ecd@posting.google.com> <bcbt1g$2ph$1@watsol.cc.columbia.edu>
  11. NNTP-Posting-Host: 198.151.35.6
  12. Content-Type: text/plain; charset=ISO-8859-1
  13. Content-Transfer-Encoding: 8bit
  14. X-Trace: posting.google.com 1055517238 14498 127.0.0.1 (13 Jun 2003 15:13:58 GMT)
  15. X-Complaints-To: groups-abuse@google.com
  16. NNTP-Posting-Date: 13 Jun 2003 15:13:58 GMT
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14386
  18.  
  19. It looks like there is still quite a bit of bugs in the http proxy
  20. code, for example the user variable in http_connect (ckcnet.c) is set
  21. to "" so the if (user) always return true, therfore a
  22. Proxy-authorization and Extension header is always sent even if
  23. authentication is not desired. The /AGENT argument to http commands
  24. seems to have no effect on the headers sent to the server (its always
  25. C-Kermit). An other problem i found is that the proxy code only
  26. support the CONNECT call but this call is not OK with our proxy
  27. because they dont want us to stream anything throught the proxy. It
  28. does support however keeping the connection alive for multiple POST
  29. and GET. I guess ill have to figure out the kermit code and try to fix
  30. it or am I not using kermit right?
  31.  
  32. Thanks,
  33. mchamber
  34.  
  35. jaltman@columbia.edu (Jeffrey Altman) wrote in message news:<bcbt1g$2ph$1@watsol.cc.columbia.edu>...
  36. > This should be fixed in the current release.
  37. > Please upgrade.
  38. > In article <f270e7b1.0306121124.4e268ecd@posting.google.com>,
  39. > mchamber <michel.chamberland@jtax.com> wrote:
  40. > : Hi, I am trying to write a small script to download pages via a proxy
  41. > : using the http protocol. Somehow though it seems that kermit is
  42. > : ignoring the "SET TCP HTTP-PROXY 192.168.40.1:8080" command and tries
  43. > : to connect directly to the host. As you can see from the output below
  44. > : kermit says its trying to connect to the iternet address instead of
  45. > : the 192.168.40.1 proxy. Any pointers would be greatly appreciated.
  46. > : 
  47. > : Sincerely,
  48. > : mchamber
  49. > : 
  50. > : 
  51. > : Here is the relevant part of the script:
  52. > : 
  53. > : <snip>
  54. > : #!/usr/bin/kermit +
  55. > : 
  56. > : SET TCP HTTP-PROXY 192.168.40.1:8080
  57. > : HTTP OPEN www.slashdot.org 80
  58. > : http close
  59. > : quit
  60. > : </snip>
  61. > : 
  62. > : Here is the output of the script:
  63. > : 
  64. > : <snip>
  65. > : C-Kermit 8.0.201, 8 Feb 2002, for Linux
  66. > :  Numeric: 800201
  67. > :  Type COPYRIGHT for copyright information.
  68. > : 
  69. > : SET TCP parameters:
  70. > :  Reverse DNS lookup: off
  71. > :  DNS Service Records lookup: off
  72. > :  Keepalive: on
  73. > :  Linger: off
  74. > :  DontRoute: off
  75. > :  Nodelay: off
  76. > :  Send buffer: (default size)
  77. > :  Receive buffer: (default size)
  78. > :  address: (none)
  79. > :  http-proxy: 192.168.40.1:8080
  80. > : 
  81. > :  DNS Lookup...  Trying 66.35.250.151... Failed: Connection timed out
  82. > : ?HTTP Connection failed.
  83. > : </snip>
  84.